<style>
    .content {
        padding: 15px;
    }
</style>
<div id="content"></div>
<script type="text/html" id="nodetpl">
    <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
        <div class="row">
            <div class="col-sm-12">
                <div class="panel panel-default panel-intro">
                    <div class="panel-heading">
                        <div class="panel-lead"><em>流程信息</em></div>
                    </div>
                    <div class="panel-body">
                        <div class="tab-content">
                            <div class="tab-pane fade active in">
                                <div class="form-group">
                                    <label class="control-label col-xs-12 col-sm-3">流程名称</label>
                                    <div class="col-xs-12 col-sm-8">
                                        <input type="text" class="form-control" name="row[flowname]" value=""/>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="panel panel-default panel-intro">
                    <div class="panel-heading">
                        <div class="panel-lead"><em>节点信息</em></div>
                    </div>
                    <div class="panel-body">
                        <div class="tab-content">
                            <div class="tab-pane fade active in">
                                <div class="form-group">
                                    <label class="control-label col-xs-12 col-sm-3">节点名称</label>
                                    <div class="col-xs-12 col-sm-8">
                                        <input type="text" class="form-control"/>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="control-label col-xs-12 col-sm-3">审批人类型</label>
                                    <div class="col-xs-12 col-sm-8">
                                        <select class="form-control" id="select">

                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="control-label col-xs-12 col-sm-3">审批人</label>
                                    <div class="col-xs-12 col-sm-8">
                                        <div class="input-group input-groupp-md">
                                            <input type="text" id="txtUserName" class="form-control selectpage" data-source="flow/scheme/selectuserpage" data-field="username" name="row[name]" value=""/>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="role" class="control-label col-xs-12 col-sm-3">审批角色</label>
                                    <div class="col-xs-12 col-sm-8">
                                        <div class="input-group input-groupp-md">
                                            <input type="text" id="txtRole" class="form-control selectpage" data-source="flow/scheme/selectrolepage" data-field="name" name="row[name]" value=""/>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</script>
<style>
    .form-layer {
        height: 100%;
        min-height: 150px;
        min-width: 300px;
    }

    .form-body {
        width: 100%;
        overflow: auto;
        top: 0;
        position: absolute;
        z-index: 10;
        bottom: 50px;
        padding: 15px;
    }

    .form-layer .form-footer {
        height: 50px;
        line-height: 50px;
        background-color: #ecf0f1;
        width: 100%;
        position: absolute;
        z-index: 200;
        bottom: 0;
        margin: 0;
    }

    .form-footer .form-group {
        margin-left: 0;
        margin-right: 0;
    }
</style>